using System;
using Rainbow.ObjectFlow.Framework;

namespace Rainbow.Demo.Objectflow.Client
{
    public class PayForCoffee : BasicOperation<CustomerState>
    {
        public override CustomerState Execute(CustomerState data)
        {
            Console.WriteLine("Pay for coffee");
            data.Paid = true;

            return data;
        }
    }
}